package com.hdax.easybuy.dao;

import com.hdax.easybuy.entity.Order;
import com.hdax.easybuy.entity.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderDao extends JpaRepository<Order,Integer> {

    public List<Order> findByUserId(int userId);

}
